package com.happystreet.ui
{
	import com.happystreet.GlobalGameConstants;
	import com.happystreet.engine.CoreObject;
	import com.happystreet.manager.GameManager;
	
	public class CorePopup extends CoreObject
	{
		public static const WAITING_POPUP_TYPE:int = 0;
		public static const SIMPLE_POPUP_TYPE:int = 1;
		public static const SIMPLE_CONFIRM_POPUP_TYPE:int = 2;
		public static const CONFIRMATION_POPUP_TYPE:int = 3;
		public static const SAVE_STATE_CONFIRMATION_POPUP_TYPE:int = 4;
		public static const TIMED_WAITING_POPUP_TYPE:int = 5;
		public static const POST_TO_PROFILE_POPUP_TYPE:int = 6;
		public static const COMPLEX_POPUP_TYPE:int = 7;
		public static const BIG_POPUP_POSY:int = 50;
		public static const BIG_POPUP_WIDTH:int = (GlobalGameConstants.GAME_WIDTH - 16);//744
		public static const BIG_POPUP_HEIGHT:int = ((GlobalGameConstants.GAME_HEIGHT - BIG_POPUP_POSY) - 8);//562
		public static const REMINDER_POPUP_POSY:int = 50;
		public static const REMINDER_POPUP_WIDTH:int = 500;
		public static const REMINDER_POPUP_HEIGHT:int = 440;
		public static const POPUP_MAX_WIDTH:int = 600;
		public static const POPUP_MAX_HEIGHT:int = 500;
		public static const POPUP_MIN_WIDTH:int = 300;
		public static const POPUP_MIN_HEIGHT:int = 200;
		public static const EFFECT_SCALE:Number = 0.7;
		
		public static var hasPopup:Boolean;
		public static var popupQueue:Array = new Array();
		public static var popupStack:Array = new Array();
		public static var gameManager:GameManager;
		public static var onEmptyPopupQueueCallback:Function;
		public static var alphaMask:CoreObject;
		
		public const POPUP_CONTENT_MARGIN:int = 14;
		public function CorePopup(_arg1:int=1, _arg2:Function=null, _arg3:Function=null, _arg4:String=null, _arg5:Boolean=true, _arg6:Boolean=true, _arg7:Number=0, _arg8:Array=null)
		{
			super();
		}
	}
}